// 赛事级别：1、基础赛，2：晋级系列赛，3：段位认证赛，4：高级进阶赛
export const GameRegionLevels = [
  {
    label: '基础赛',
    value: 1,
  },
  {
    label: '晋级系列赛',
    value: 2,
  },
  {
    label: '段位认证赛',
    value: 3,
  },
  {
    label: '高级进阶赛',
    value: 4,
  },
];

// 赛事类型：1：个人；2：团体；3：配对
export const GameTypes = [
  {
    label: '个人',
    value: 1,
  },
  {
    label: '团体',
    value: 2,
  },
  {
    label: '配对赛',
    value: 3,
  },
];

// 比赛形式
export const GameGroupTypes = [
  {
    label: '18洞比杆赛',
    value: 0b0000000001,
  },
  {
    label: '18洞比洞赛',
    value: 0b0000000010,
  },
  {
    label: '18洞计时赛',
    value: 0b0000000100,
  },
  {
    label: '定分式',
    value: 0b0000001000,
  },
];

export const GameScoreTypes = [
  {
    label: '开球情况',
    value: 0b10000,
  },
  {
    label: '开球方向',
    value: 0b01000,
  },
  {
    label: '推杆数',
    value: 0b00100,
  },
  {
    label: '罚杆数',
    value: 0b00010,
  },
  {
    label: '总杆数',
    value: 0b00001,
    disabled: true,
  },
];

export const GameApproveState = [
  {
    label: '草稿',
    value: -1,
  },
  {
    label: '审核中',
    value: 0,
  },
  {
    label: '已发布',
    value: 1,
  },
  {
    label: '审核失败',
    value: 2,
  },
];

export const GameStates = [
  {
    label: '报名未开始',
    value: 0,
  },
  {
    label: '报名中',
    value: 1,
  },
  {
    label: '待开赛',
    value: 2,
  },
  {
    label: '比赛中',
    value: 3,
  },
  {
    label: '结束',
    value: 4,
  },
];

export const GamePayWays = [
  { label: '线上支付', value: 1 },
  { label: '线下支付', value: 2 },
];

export const GamePayMethods = [
  { label: '点数', value: 1, disabled: true },
  { label: 'RMB', value: 2 },
  { label: '点数或RMB', value: 3, disabled: true },
];

export const kickOffTypeNames = [
  '上球道',
  '上果岭',
  '下沙',
  '二级草',
  '三级草',
  '下水',
  '进树林',
  'OB',
];
export const kickOffDirectionNames = ['正中', '偏左', '偏右'];

export const PlayerResults = [
  {
    label: '正常',
    value: 1,
  },
  {
    label: 'WD',
    value: 2,
  },
  {
    label: 'DQ',
    value: 3,
  },
  {
    label: '隐藏',
    value: 4,
  },
];

export const RankLevels = [
  {
    label: '不参与积分',
    value: 0,
  },
  {
    label: '一级赛事',
    value: 1,
  },
  {
    label: '二级赛事',
    value: 2,
  },
  {
    label: '三级赛事',
    value: 3,
  },
  {
    label: '四级赛事',
    value: 4,
  },
];
